package com.xinghanlaser.applet.base.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * <p>
 *
 * @author: mftuo 陀铭峰
 * @since: 2024/4/29 10:31
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@NoArgsConstructor
@TableName("admin_role_resource")
@Builder
@ApiModel(value = "UserRole对象", description = "")
public class RoleResourceDO {
    @TableId
    private Long id;

    @ApiModelProperty(value = "资源ID")
    private Long resourceId;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;
}
